MIDIInDevice
(Property)

Purpose: Returns and sets the current MIDI-in devices ID.

Syntax:
IntVar = CtlName.MIDIInDevice
CtlName.MIDIInDevice = IntVar

Arguments: None.

Example:
'Change MIDI-In device
SoundCard1.MIDIInDevice = SoundCard1.MIDIInNumOfDevices
'Start MIDI Input
SoundCard1.MIDIInputOpen

'Show Current MIDI-In device in the Debug Window
Debug.Print SoundCard1.MIDIInDevice

Comments: The SoundCard control will ignore attempts to set MIDIInDevice to values out of range. Proprety can be changed even when MIDI-Input is open.

See Also:
MIDIOutDevice

Index